﻿using MediatR;
using Microsoft.EntityFrameworkCore.Metadata.Internal;
using SqlSugar;

namespace S.EarTag.API.Application.MediatorCommand.BodyMeasureCommand
{
    public class BodyMeasureCreateCommand:IRequest<bool>
    {

        /// <summary>
        /// 测定日期
        /// </summary>
        public DateTimeOffset MeasureDate { get; set; }

        /// <summary>
        /// 羊只耳号
        /// </summary>
        public string? EarTag { get; set; }

        /// <summary>
        /// 身高（cm）
        /// </summary>
        public decimal Height { get; set; }

        /// <summary>
        /// 体长（cm）
        /// </summary>
        public decimal BodyLength { get; set; }

        /// <summary>
        /// 胸围（cm）
        /// </summary>
        public decimal Chest { get; set; }

        /// <summary>
        /// 管围（cm）
        /// </summary>  
        public decimal Tube { get; set; }

        /// <summary>
        /// 阴囊围（cm）
        /// </summary>
        public decimal Oschea { get; set; }

        /// <summary>
        /// 背膘厚度（mm）
        /// </summary>
        public decimal Backfat { get; set; }

        /// <summary>
        /// 眼肌面积（厘米平方）
        /// </summary>
        public decimal EyeMuscleArea { get; set; }

        /// <summary>
        /// 眼肌宽度（cm）
        /// </summary>
        public decimal EyeMuscleWidth { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreateBy { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTimeOffset CreateDate { get; set; }


        /// <summary>
        /// 修改人
        /// </summary>
        public string? UpdateBy { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public string? UpdateDate { get; set; }
    }
}
